package dapps.service.document;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springside.modules.orm.hibernate.EntityManager;

import dapps.dao.document.CategoryDao;
import dapps.entity.document.Category;

/**

 */
@Service
//默认将类中的所有函数纳入事务管理.
@Transactional
public class CategoryManager extends EntityManager<Category, Long> {
	@Autowired
	private CategoryDao categoryDao;


	@Override
	protected CategoryDao getEntityDao() {
		return categoryDao;
	}

}
